\begin{tikzpicture}
[
	input/.style={circle, draw=black!50, fill=blue!20, minimum size = 6mm},
	rbs/.style={ellipse, draw=black!50, fill=yellow!30},
	output/.style={rectangle, draw=black!50, fill=red!30, rounded corners,minimum width = 0.7cm, minimum height=6mm}
]
\matrix[
matrix of nodes,
column sep={1cm},
row sep={0cm}] 
{
	\node[input](input-1) {}; & & \\
	& \node[rbs](rb-1) {
		\begin{tikzpicture}
			\draw[scale=0.06,domain=-4:4,smooth,variable=\x,blue] plot ({\x},{5*exp(-(\x)*(\x)/2)});
		\end{tikzpicture}
	}; & \\
	\node[input](input-2) {}; & & \node[output] (output-1) {$\Sigma$}; \\
	& \node[rbs](rb-2) {
		\begin{tikzpicture}
			\draw[scale=0.06,domain=-4:4,smooth,variable=\x,blue] plot ({\x},{5*exp(-(\x)*(\x)/2)});
		\end{tikzpicture}
	}; & \\
	\node[input](input-3) {}; & & \\
};

\node[right, rotate=90] at (input-3.north) {....};
\node[right, rotate=90] at (rb-2.north) {....};

\foreach \x in {1,...,2} {
	\foreach \y in {1,...,3} {
		\draw (input-\y) -- (rb-\x);
	}
}

\foreach \x in {1,...,3} {
	\draw[stealth-](input-\x) -- ([xshift=-0.7cm]input-\x.west) ;
}
\draw[-stealth](output-1) -- ([xshift=0.5cm]output-1.east);

\draw (rb-1) -- (output-1);
\draw (rb-2) -- (output-1);


\node[above left] at (input-1.north) {$x_1$};
\node[above left] at (input-2.north) {$x_2$};
\node[above left] at (input-3.north) {$x_n$};

\node[above right] at(rb-1.north) {$z_1$};
\node[above right] at(rb-2.north) {$z_m$};

\node[above right] at(output-1.north) {$y$};

\end{tikzpicture}
